home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pcdisksp.arc
/
PCDISKSP.DOC
next >
Wrap
Text File
|
1983-09-20
|
2KB
|
34 lines
I wrote DSK1.BAS, (which should be merged with PC-TALK), after being
frequently frustrated by not being able to easily find out how much disk
space I had left for downloading while I was connected to another computer.
It has only been tested on 1-sided drives. For 2-sided drives, I believe it
will work if you change the 512 in line 3125 to 1024. I would appreciate a
message from anyone who tries it on a 2-sided drive.
It is used by typing Alt-V (the PC-TALK "View" command). The "View" command
will now list the number of bytes of free space remaining on the "logged"
disk (which disk is the logged disk can be changed via the Alt-L command).
The logged disk is normally the B: disk. The "View" command otherwise works
exactly as before. If you don't want also to view a file after pressing
Alt-V, just hit RETURN.
The values presently used in the DEF SEG and CLEAR statements assume a 64K
system and assume you haven't "pushed down" BASIC in memory by expanding DOS
with additional programs such as a print spooler, or by using a later
version of DOS than V1.1. If you have only 64K and haven't "optimized" your
version of PC-TALK, this merge might cause you to run out of memory. With
more than 64K, things are much easier. If you have more than 64K you should
remove "20 CLEAR ,40000 " and change the DEF SEG statements to place DSK
at a location outside BASIC's data segment (DEF SEG=&H1700 should work for
most systems).
DO NOT CHANGE "DSK=&H100" (unless you enjoy debugging).
By the way, BASIC's being limited to 64K means it can use 64K IN ADDITION TO
DOS and the BASIC.COM file. This means that if you have 96K or more, BASIC
has approx. 22K more memory available than in a 64K system.
Jack Wright
s means th